package com.glink.manage.vo.silentresult;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate5DeSerializer;
import com.glink.common.serializer.JsonDate5Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-01-20
*/
@ApiModel(value="SilentResultWarnPageVO对象", description="静默结果")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SilentResultWarnPageVO implements Serializable {

    private static final long serialVersionUID = -7123621187911716907L;

    @ApiModelProperty(value = "主键")
    private String objId;

    @ApiModelProperty(value = "告警图片")
    private String analysisFilePath;

    @ApiModelProperty(value = "违章人员名称")
    private String violationPersonName;

    @ApiModelProperty(value = "违章内容")
    private String violationContent;
    
    @ApiModelProperty(value = "采集时间")
    @JsonSerialize(using = JsonDate5Serializer.class)
    @JsonDeserialize(using = JsonDate5DeSerializer.class)
    private Date createTime;

    @ApiModelProperty(value = "项目部名称")
    private String projectDepartmentObjId;
    
    @ApiModelProperty(value = "项目部名称")
    private String projectDepartmentName;
    
    @ApiModelProperty(value = "所属工程名称")
    private String constructionWorkObjId;
    
    @ApiModelProperty(value = "所属工程名称")
    private String constructionWorkName;
    
    @ApiModelProperty(value = "施工现场名称")
    private String constructionWorkSiteObjId;
    
    @ApiModelProperty(value = "施工现场名称")
    private String constructionWorkSiteName;

    @ApiModelProperty(value = "是否授权")
    private String ifGrant;
    
    @ApiModelProperty(value = "是否已读")
    private String ifRead;
}
